package splitWords

import (
	"github.com/yanyiwu/gojieba"
)

// 中文分词
func GetSplitWords(text string) []string {
	use_hmm := true
	x := gojieba.NewJieba()
	defer x.Free()

	words := x.Cut(text, use_hmm)
	return words
}
